package lab02.Test13;

/**
 * Created by Administrator on 2017/10/24.
 */
public class School extends ComputerAverage{
    @Override
    double average(double[] s) {
        double a=0;
        for (int i=0;i<s.length;i++){
            a=a+s[i];
        }
        a=a/(s.length);
        return a;
    }
}
